package com.neuedu.shixun.hospital2.repository;
import com.neuedu.shixun.hospital2.entity.Doctor;
import org.springframework.data.jpa.repository.JpaRepository;

public interface DoctorRepository extends JpaRepository<Doctor,Integer>{
//    Doctor findByDJobnumAndDPasswordAndDDname(String dJobnum, String dPassword,String dDname);
    Doctor findByDJobnumAndDPasswordAndDDname(String dJobnum, String dPassword,String dDname);
    Doctor findByDJobnum(String jobNum);

}
